import 'package:flutter/material.dart';
import '../pages/main_page.dart';
import '../pages/detail_page.dart';
import '../pages/search/index.dart';

class AppRoutes {
  static const String home = '/';
  static const String detail = '/detail';
  static const String search = '/search';

  static Map<String, WidgetBuilder> routes = {
    home: (context) => const MainPage(),
    detail: (context) => const DetailPage(),
    search: (context) => const SearchPage(),
  };
}